package orm;


import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by langdon on 2017/7/22.
 */
public class UserResult extends Result{

    @JsonProperty
    private User user;

    public UserResult(){}

    public UserResult(int status, String msg, User user){
        setMsg(msg);
        setUser(user);
        setStatus(status);
    }

    @JsonProperty
    public User getUser() {
        return user;
    }

    public void setUser(User user) {
        this.user = user;
    }
}
